﻿using System.Runtime.Serialization;
using System.Web.Security;
namespace Artech.PetShop.Infrastructures.Service.Interface
{
    [DataContract(Namespace = "http://www.artech.com/")]
    public class MembershipConfigData
    {
        [DataMember]
        public  string ApplicationName
        { get; set; }

        [DataMember]
        public bool EnablePasswordReset
        { get; set; }

        [DataMember]
        public bool EnablePasswordRetrieval
        { get; set; }

        [DataMember]
        public int MaxInvalidPasswordAttempts
        { get; set; }

        [DataMember]
        public int MinRequiredNonAlphanumericCharacters
        { get; set; }

        [DataMember]
        public int MinRequiredPasswordLength
        { get; set; }

        [DataMember]
        public int PasswordAttemptWindow
        { get; set; }

        [DataMember]
        public MembershipPasswordFormat PasswordFormat
        { get; set; }

        [DataMember]
        public string PasswordStrengthRegularExpression
        { get; set; }

        [DataMember]
        public bool RequiresQuestionAndAnswer
        { get; set; }

        [DataMember]
        public bool RequiresUniqueEmail
        { get; set; }
    }
}